package org.tis.tools.senior.module.core.web.controller.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tis.tools.model.web.RestRequest;

import javax.validation.constraints.NotBlank;

/**
 * description:
 *
 * @author zhaoch
 * @date 2018/6/21
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class LoginRequest extends RestRequest {

    @NotBlank(message = "用户名不能为空")
    private String userId;

    @NotBlank(message = "密码不能为空")
    private String password;

}
